﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SqlSugar;

namespace ESSManageService.Model.DBModels.Info
{
    /// <summary>
	/// KPI指标信息表
	/// <summary>
	[SugarTable("KPI_Info", tableDescription: "KPI信息表")]
    public class KPIInfo
    {
        /// <summary>
        /// 主键ID
        /// <summary>
        [SugarColumn(IsPrimaryKey = true, ColumnName = "id", IsIdentity = true)]
        public long id { get; set; }
        /// <summary>
        /// KPI名称
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string name { get; set; }
        /// <summary>
        /// 分段评分规则
        /// <summary>
        [SugarColumn(Length = 200, IsNullable = true)]
        public string segments { get; set; }
        /// <summary>
        /// 权重值（0-1）
        /// <summary>
        [SugarColumn(Length = 10, IsNullable = true)]
        public int weight { get; set; }

    }
}
